gint *x,
gint *y,
gint *width,
- gint *height,
- gint *depth)
+ gint *height)
{
if (!GDK_WINDOW_DESTROYED (window))
{
*width = window->width;
if (height)
*height = window->height;
- if (depth)
- *depth = window->depth;
}
}
{
impl_class = GDK_WINDOW_IMPL_GET_CLASS (window->impl);
impl_class->get_geometry (window, x, y,
- width, height,
- NULL);
+ width, height);
/* This reports the position wrt to the native parent, we need to convert
it to be relative to the client side parent */
parent = window->parent;
gint *x,
gint *y,
gint *width,
- gint *height,
- gint *depth);
+ gint *height);
gint (* get_root_coords) (GdkWindow *window,
gint x,
gint y,
gint *x,
gint *y,
gint *width,
- gint *height,
- gint *depth)
+ gint *height)
{
GdkWindowImplQuartz *impl;
GdkWindowObject *private;
if (height)
*height = ns_rect.size.height;
}
-
- if (depth)
- *depth = gdk_visual_get_depth (gdk_window_get_visual (window));
}
static gint
gint *x,
gint *y,
gint *width,
- gint *height,
- gint *depth)
+ gint *height)
{
if (!window)
window = _gdk_root;
*width = rect.right - rect.left;
if (height)
*height = rect.bottom - rect.top;
- if (depth)
- *depth = gdk_window_get_visual (window)->depth;
GDK_NOTE (MISC, g_print ("gdk_win32_window_get_geometry: %p: %ldx%ldx%d@%+ld%+ld\n",
GDK_WINDOW_HWND (window),
gint *x,
gint *y,
gint *width,
- gint *height,
- gint *depth)
+ gint *height)
{
Window root;
gint tx;
*width = twidth;
if (height)
*height = theight;
- if (depth)
- *depth = tdepth;
}
}